﻿<UserControl x:Class="RiaCrm.Sitemap.TreeViewNode"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="100" >
    <Grid x:Name="nodeRoot" Background="#FFFFFF">
        <Border BorderBrush="#FFCCCCCC"
                CornerRadius="2"
            BorderThickness="3">
            <StackPanel Orientation="Vertical">
                <TextBlock x:Name="nodeDepth" 
                           Text="{Binding Depth}"  
                           FontSize="8"
                            Margin="3"/>
                <TextBlock x:Name="nodeName" 
                           Text="{Binding Name}"
                           Margin="3" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
